﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TestPlugin
{
	public class TestPlugin1 : MLPlugin.PluginBase
	{
		public override string GetContent()
		{
			return "テストプラグインその１";
		}

		public override string GetDescription()
		{
			return ".minecraftを開くだけのプラグイン。";
		}

		public override void RunCommand(string targetName, string targetPath)
		{
			var mcdirectory = System.IO.Path.Combine(targetPath, ".minecraft");
			if (System.IO.Directory.Exists(mcdirectory))
			{
				System.Diagnostics.Process.Start(mcdirectory);
			}
		}
	}
}
